package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author AirThor
 * @date 2019/4/15.
 */
public interface RemarkFriendApi {
    /**
     * 备注好友
     * @see "https://gitee.com/btc8/appserver/wikis/IM?sort_id=1348722#322-%E5%A4%87%E6%B3%A8%E5%A5%BD%E5%8F%8B-ip-userremarkuser-get"
     * @param userId uid
     * @param toId 要备注的好友ID
     * @param remark 备注名
     * @return
     */
    @GET("im/user/remarkUser")
    Flowable<BaseImResponse<Object>> remarkFriend(@Query("userId") int userId, @Query("toId") long toId, @Query("remark") String remark);
}
